package net.huashitong.ssydt.pk.entity.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.12.13
 */
public class ChallengeSubmitVO implements Serializable {

    private static final long serialVersionUID = -1538867427919657460L;
    @ApiModelProperty(value = "挑战记录id")
    @NotNull(message = "挑战记录id不能为空")
    private Long recordId;//挑战记录id
    @ApiModelProperty(value = "卷面成绩")
    @NotNull(message = "卷面成绩不能为空")
    private BigDecimal paperScore;//卷面成绩
    @ApiModelProperty(value = "正确题数")
    @NotNull(message = "正确题数不能为空")
    private Integer correctNumber;//正确题数

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public BigDecimal getPaperScore() {
        return paperScore;
    }

    public void setPaperScore(BigDecimal paperScore) {
        this.paperScore = paperScore;
    }

    public Integer getCorrectNumber() {
        return correctNumber;
    }

    public void setCorrectNumber(Integer correctNumber) {
        this.correctNumber = correctNumber;
    }
}
